<template>
  <el-dialog
    title="预览"
    :visible.sync="showVisible">
      <antvShow ref="antvShow"/>

  </el-dialog>
</template>

<script>
import antvShow from "./antvShow.vue"

export default {
  name: '',
  components: {
    antvShow
  },
  props: {},
  data() {
    return {
      showVisible:false,
    }
  },
  computed: {},
  watch: {},
  created() {

  },
  mounted() {
  },
  methods: {
    open(json) {
      this.showVisible = true
      this.$nextTick(()=>{
        this.$refs.antvShow.initGraph(json)
      })
    },
    async confirm(close) {
      
    },

    handleClose() {

    }
  }
}
</script>

<style>

</style>
